package com.start_eternity.oasissafewalk.service;

import com.start_eternity.oasissafewalk.pojo.Car;
import com.start_eternity.oasissafewalk.pojo.Driver;
import com.start_eternity.oasissafewalk.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

public interface CarService {
    /*分页查询*/
    PageBean page(Integer page, Integer pageSize, String carName);
    /*删除车辆*/
    void delete(List<Integer> ids);
    /*新增车辆*/
    void add(Car car);
    /*根据id查询车辆*/
    Car getById(Integer carId);
    /*更新车辆信息*/
    void update(Car car);
}
